package com.zeji.androidadvance.activity.opengl.one;

import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;

public class OneGlSurfaceView extends GLSurfaceView {

    public OneGlSurfaceView(Context context) {
        super(context);
        init();
    }

    public OneGlSurfaceView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    private void init() {
        setEGLContextClientVersion(2);

        setRenderer(new OneGlRenderer());
    }
}
